'''编写所有的实体类'''

# from . import db
# 通过db创建实体类

# class BlogType(db.Model):
#     __tablename__ = 'blogtype'
#     id = db.Column(db.Integer,primary_key=True)
#     type_name = db.Column(db.String(20),nullable=False)
#     topics = db.relationship("Topic",backref="blogType",lazy="dynamic")
      
